#ifndef V6NEWMAPEVENT_HH
#define V6NEWMAPEVENT_HH

#include <lee/Event.hh>

namespace natpt {

  class V6NewMapEvent : public lee::Event
  {
  protected:
    in6_addr v6;
    uint32_t v4;
  public:
    V6NewMapEvent() {}
    V6NewMapEvent(in6_addr new6, uint32_t new4) : v6(new6), v4(new4) {}
    inline in6_addr getV6() const {return v6;} 
    inline uint32_t getV4() const {return v4;}
  };

  class V6NewerMapEvent : public V6NewMapEvent
  {
  public:
    V6NewerMapEvent() {}
    V6NewerMapEvent(in6_addr new6, uint32_t new4) : V6NewMapEvent(new6, new4) {}
  };

}

#endif // V6NEWMAPEVENT_HH
